package com.ruoyi.test.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mashuai.utils.toolkit.core.msHandlebean.annotation.MsSaveCheck;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.test.constant.TipConstant;
import lombok.Data;

/**
 * 擅长配置对象 pcj_able
 *
 * @author ms
 * @date 2024-03-11
 */
@Data
@TableName("pcj_able")
public class PcjAble extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId
    @TableField("id")
    private String id;


    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    @TableField("del_flag")
    private Integer delFlag;


    /**
     * 擅长名称
     */
    @MsSaveCheck(delFlag = " del_flag = 0 ",errorMsg = TipConstant.NAME_EXIST)
    private String name;


    /**
     * 顺序号
     */
    @TableField("seq_no")
    private Integer seqNo;


}
